<template>
  <div>
    <!-- 二级路由出口 -->
    <router-view></router-view>
    <van-tabbar route active-color="#fc6627" v-model="active">
      <van-tabbar-item to="/layout/company" icon="home-o">公司</van-tabbar-item>
      <van-tabbar-item to="/layout/topic" icon="chat-o">刷题</van-tabbar-item>
      <van-tabbar-item to="/layout/find" icon="video-o">发现</van-tabbar-item>
      <van-tabbar-item to="/layout/home" icon="friends-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style></style>
